package com.tedu.ourprojct.pojo.dto;

import lombok.Data;

/**
 * 该类对象接收用户注册传过来的数据
 */
public class UserRegDto {

    private String username;
    private String password;
    private String phoneNum;
    private String code;

    @Override
    public String toString() {
        return "UserRegDto{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", code='" + code + '\'' +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
